jQuery(function($){
    $.ajax({
        type: "GET",
        url: "json/index.json",
        dataType: 'json',
        success: function (data) {
            var arr = template('template', {
                str: data
            });
            $('.slide').html(arr);
        }
    })
    var swiper = new Swiper('.swiper-container', {
        pagination: '.swiper-pagination',
        paginationClickable: true
    });
    
});
